using System;
using System.ComponentModel;
using System.Xml.Serialization;

namespace com.exceptionalsoftware.spacetime.KML
{
	[Serializable()]
    [XmlType(TypeName = "LatLonAltBoxType")]
	public class LatLonAltBox : LatLonBox
	{
		private double minAlt, maxAlt;

        public LatLonAltBox()
		{
            this.minAlt = 0;
            this.maxAlt = 0;
		}

        [XmlElement(ElementName = "minAltitude", DataType = "double")]
        [DefaultValue(0)]
        public double MinimumAltitude
        {
            get { return this.minAlt; }
            set { this.minAlt = value; }
        }

        [XmlElement(ElementName = "maxAltitude", DataType = "double")]
        [DefaultValue(0)]
        public double MaximumAltitude
        {
            get { return this.maxAlt; }
            set { this.maxAlt = value; }
        }
    }
}